package com.xuwang.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @ClassName CaseFilingVo
 * @Description TODO
 * @Author OuJunchen
 * @Date 2021/9/15 下午5:15
 * @Version 1.0
 */
public class CaseFilingVo {
    /**
     * 程序类别
     */
    @ApiModelProperty(value = "程序类别")
    private Integer type;

    /**
     * 案件来源
     */
    @ApiModelProperty(value = "案件来源")
    private Integer sourceOfTheCase;

    /**
     * 违法行为类别
     */
    @ApiModelProperty(value = "违法行为类别")
    private Integer typesOfViolations;

    /**
     * 备案日期
     */
    @ApiModelProperty(value = "备案日期")
    private String filingDate;

    /**
     * 单位名称
     */
    @ApiModelProperty(value = "单位名称")
    private String companyName;

    /**
     * 主办人 （政府工作人员表）
     */
    @ApiModelProperty(value = "主办人 （政府工作人员表）")
    private String governmentStaffName;

    /**
     * 所属部门（政府部门表）
     */
    @ApiModelProperty(value = "承办部门（政府部门表）")
    private String governmentDepartmentName;

    public Integer getType () {
        return type;
    }

    public void setType (Integer type) {
        this.type = type;
    }

    public Integer getSourceOfTheCase () {
        return sourceOfTheCase;
    }

    public void setSourceOfTheCase (Integer sourceOfTheCase) {
        this.sourceOfTheCase = sourceOfTheCase;
    }

    public Integer getTypesOfViolations () {
        return typesOfViolations;
    }

    public void setTypesOfViolations (Integer typesOfViolations) {
        this.typesOfViolations = typesOfViolations;
    }

    public String getFilingDate () {
        return filingDate;
    }

    public void setFilingDate (String filingDate) {
        this.filingDate = filingDate;
    }

    public String getCompanyName () {
        return companyName;
    }

    public void setCompanyName (String companyName) {
        this.companyName = companyName;
    }

    public String getGovernmentStaffName () {
        return governmentStaffName;
    }

    public void setGovernmentStaffName (String governmentStaffName) {
        this.governmentStaffName = governmentStaffName;
    }

    public String getGovernmentDepartmentName () {
        return governmentDepartmentName;
    }

    public void setGovernmentDepartmentName (String governmentDepartmentName) {
        this.governmentDepartmentName = governmentDepartmentName;
    }

    @Override
    public String toString () {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"type\":")
                .append(type);
        sb.append(",\"sourceOfTheCase\":")
                .append(sourceOfTheCase);
        sb.append(",\"typesOfViolations\":")
                .append(typesOfViolations);
        sb.append(",\"filingDate\":\"")
                .append(filingDate).append('\"');
        sb.append(",\"companyName\":\"")
                .append(companyName).append('\"');
        sb.append(",\"governmentStaffName\":\"")
                .append(governmentStaffName).append('\"');
        sb.append(",\"governmentDepartmentName\":\"")
                .append(governmentDepartmentName).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
